package com.weharvest.edu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Configuration;

//@Configuration
@SpringBootApplication
//指定扫入mapper包
@MapperScan(basePackages= "com.weharvest.edu.dao.mapper")
//缓存注解
@EnableCaching
public class EduApplication {

	public static void main(String[] args) {
		SpringApplication.run(EduApplication.class, args);
	}
}
